package com.ossjk.oa.attendance.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.ossjk.core.base.entity.BaseEntity;


/**
 * 
 * 
 * @Author Datou
 * @Version 1.0, 2020-05-28
 * @See
 * @Since com.ossjk.oa.attendance.entity
 * @Description: TODO
 */
public class Atdtable extends BaseEntity<Atdtable> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;
    /**
     * 用户id
     */
    @TableField("eid")
    private String eid;
    /**
     * 年
     */
    @TableField("year")
    private String year;
    /**
     * 月
     */
    @TableField("month")
    private String month;
    /**
     * 部门id
     */
    @TableField("did")
    private String did;
    /**
     * 应出勤天数
     */
    @TableField("shouldAttd")
    private BigDecimal shouldAttd;
    /**
     * 实际出勤天数
     */
    @TableField("actualAttd")
    private BigDecimal actualAttd;
    /**
     * 带薪年假天数（最少0.5天）
     */
    @TableField("paidAnnualLeave")
    private BigDecimal paidAnnualLeave;
    /**
     * 带薪调休天数（最少0.5天）
     */
    @TableField("paidLeave")
    private BigDecimal paidLeave;
    /**
     * 普通请假天数（最少0.5天）
     */
    @TableField("generalLeave")
    private BigDecimal generalLeave;
    /**
     * 迟到和早退分钟数
     */
    @TableField("lateAndEarlyLeave")
    private BigDecimal lateAndEarlyLeave;
    /**
     * 外出天数（最少0.5天）
     */
    @TableField("goout")
    private BigDecimal goout;
    /**
     * 加班小时数（最少1小时）
     */
    @TableField("overtime")
    private BigDecimal overtime;
    /**
     * 旷工天数
     */
    @TableField("absenteeism")
    private BigDecimal absenteeism;
    /**
     * 是否已确认 1-已确认 2-未确认
     */
    @TableField("isConfirmed")
    private BigDecimal isConfirmed;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public BigDecimal getShouldAttd() {
        return shouldAttd;
    }

    public void setShouldAttd(BigDecimal shouldAttd) {
        this.shouldAttd = shouldAttd;
    }

    public BigDecimal getActualAttd() {
        return actualAttd;
    }

    public void setActualAttd(BigDecimal actualAttd) {
        this.actualAttd = actualAttd;
    }

    public BigDecimal getPaidAnnualLeave() {
        return paidAnnualLeave;
    }

    public void setPaidAnnualLeave(BigDecimal paidAnnualLeave) {
        this.paidAnnualLeave = paidAnnualLeave;
    }

    public BigDecimal getPaidLeave() {
        return paidLeave;
    }

    public void setPaidLeave(BigDecimal paidLeave) {
        this.paidLeave = paidLeave;
    }

    public BigDecimal getGeneralLeave() {
        return generalLeave;
    }

    public void setGeneralLeave(BigDecimal generalLeave) {
        this.generalLeave = generalLeave;
    }

    public BigDecimal getLateAndEarlyLeave() {
        return lateAndEarlyLeave;
    }

    public void setLateAndEarlyLeave(BigDecimal lateAndEarlyLeave) {
        this.lateAndEarlyLeave = lateAndEarlyLeave;
    }

    public BigDecimal getGoout() {
        return goout;
    }

    public void setGoout(BigDecimal goout) {
        this.goout = goout;
    }

    public BigDecimal getOvertime() {
        return overtime;
    }

    public void setOvertime(BigDecimal overtime) {
        this.overtime = overtime;
    }

    public BigDecimal getAbsenteeism() {
        return absenteeism;
    }

    public void setAbsenteeism(BigDecimal absenteeism) {
        this.absenteeism = absenteeism;
    }

    public BigDecimal getIsConfirmed() {
        return isConfirmed;
    }

    public void setIsConfirmed(BigDecimal isConfirmed) {
        this.isConfirmed = isConfirmed;
    }

    public Date getCrtm() {
        return crtm;
    }

    public void setCrtm(Date crtm) {
        this.crtm = crtm;
    }

    public String getCrer() {
        return crer;
    }

    public void setCrer(String crer) {
        this.crer = crer;
    }

    public Date getMdtm() {
        return mdtm;
    }

    public void setMdtm(Date mdtm) {
        this.mdtm = mdtm;
    }

    public String getMder() {
        return mder;
    }

    public void setMder(String mder) {
        this.mder = mder;
    }

    public BigDecimal getState() {
        return state;
    }

    public void setState(BigDecimal state) {
        this.state = state;
    }

    public BigDecimal getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(BigDecimal isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Atdtable{" +
        ", id=" + id +
        ", eid=" + eid +
        ", year=" + year +
        ", month=" + month +
        ", did=" + did +
        ", shouldAttd=" + shouldAttd +
        ", actualAttd=" + actualAttd +
        ", paidAnnualLeave=" + paidAnnualLeave +
        ", paidLeave=" + paidLeave +
        ", generalLeave=" + generalLeave +
        ", lateAndEarlyLeave=" + lateAndEarlyLeave +
        ", goout=" + goout +
        ", overtime=" + overtime +
        ", absenteeism=" + absenteeism +
        ", isConfirmed=" + isConfirmed +
        ", crtm=" + crtm +
        ", crer=" + crer +
        ", mdtm=" + mdtm +
        ", mder=" + mder +
        ", state=" + state +
        ", isdelete=" + isdelete +
        "}";
    }
}
